package edu.hawaii.client;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Course name Java bean.  Represents a record of course names from the selected semester
 * returned by the stored procedure.  
 * 
 * Classes interactions:
 *    - is used by ObjectFactory.java to make java Bean objects from results from database.
 *    - is called by CallingStoredProcedures.java
 * 
 * @author Kiet Huynh
 * @author brandon lee
 */
public class CourseNameByCampus implements IsSerializable {

  private String CourseName;
  
  /**
   * Returns the full name of a course.
   * @return The full name of a course.
   */
  public String getCourseName() {
    return this.CourseName;
  }
  
  /**
   * Sets the name of a course.
   * @param newCourseName The new name of the course.
   */
  public void setCourseName(String newCourseName) {
    this.CourseName = newCourseName;
  }
}
